查询103移动类型产生的冻结库存信息(GR Block Stock)

最近项目上由于新旧系统切换,需要查询旧系统中GR Block Stock库存情况,因此略微研究并补充了一下查询方法及相关知识,分享一下。

方法一:使用MMBE查询

不足:只能单个物料查询

方法二:使用ME2N等采购订单报表查询

要点:选择参数中需要使用“WE104”,然后将结果在表EKBE中取得相关数据再进行计算

另外有一些延伸:

  1. 如果是移动类型产生107的valuated GR blocked stock (一般用于票到货未到的情况), 可以在 MARC table. MARC - BWESB中查询到库存信息,或者通过标准报表MB5OA查询。

  2. 如果是移动类型103产生的GR blocked stock,系统将不会更新MARD table(因为MARD在更新时要求有库存地点信息,而103移动类型中不带有,所以在MARD表中可以查询到因质量冻结的库存信息)。Here, you have to find the 103 movements (quantity) pending for 105 movement from MSEG or EKBE table. In short, for a PO line item, you can find the difference in quantity between 105 and 103 movement from EKBE. This will give you the GR blocked stock. (Please consider the reversals also). The info is available in MMBE report too.

  3. As of my knowledge, “to be delivered” quantity showing in ME2N report is through hard coded logic. If you dont want to consider 103 movement as delivered quantity, you may copy the program of ME2N to a z program and do the required modification or create a new z report with required logic.

  4. If you want to show it in ME2N itself, I would suggest to add a new field to the report by appending the structure MEREP_OUTTAB_PURCHDOC, and write the logic accordingly to excluse 103 from EKBE or MSEG table.

  5. The selection parameters are used to restrict / select the required PO’s in the output. If you want to show a report with PO of open for GR (103 done, 105 not done in your case, maintain the selection parameter as shown below, in the path OLME-Reporting - maintain purchasing list - selection parameters - Define selection parameters:

0%